package com.sxhuayuan.parking.dto;

import javax.validation.constraints.NotNull;

import com.sxhuayuan.parking.config.PartnerpayScene;
import com.sxhuayuan.parking.config.Platform;

/** 无感开通状态查询 */
public class PartnerpayQueryDTO {

	@NotNull
	private PartnerpayScene tradeScene;
	@NotNull
	private Platform platform;
	// 客户端，h5/app/miniapp
	@NotNull
	private String client;
	@NotNull
	private String parkingLotSn;
	private String carPlate;
	private String openid;
	private String subOpenid;
	// 高速场景，车道信息
	private String channelType;
	// 物料信息
	private String materialInfo;

	public PartnerpayScene getTradeScene() {
		return tradeScene;
	}

	public void setTradeScene(PartnerpayScene tradeScene) {
		this.tradeScene = tradeScene;
	}

	public Platform getPlatform() {
		return platform;
	}

	public void setPlatform(Platform platform) {
		this.platform = platform;
	}

	public String getClient() {
		return client != null ? client.toUpperCase() : client;
	}

	public void setClient(String client) {
		this.client = client;
	}

	public String getParkingLotSn() {
		return parkingLotSn;
	}

	public void setParkingLotSn(String parkingLotSn) {
		this.parkingLotSn = parkingLotSn;
	}

	public String getCarPlate() {
		return carPlate;
	}

	public void setCarPlate(String carPlate) {
		this.carPlate = carPlate;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getSubOpenid() {
		return subOpenid;
	}

	public void setSubOpenid(String subOpenid) {
		this.subOpenid = subOpenid;
	}

	public String getChannelType() {
		return channelType;
	}

	public void setChannelType(String channelType) {
		this.channelType = channelType;
	}

	public String getMaterialInfo() {
		return materialInfo;
	}

	public void setMaterialInfo(String materialInfo) {
		this.materialInfo = materialInfo;
	}

}
